N4 enforces the following naming conventions for all custom extensions when you save a new custom component. These conventions prevent future upgrade or functional issues by ensuring that names of custom components never coincide with names of future system components.
Component |
Convention |
Limit |
---|---|---|
Dynamic custom entity name |
com.YourCompany.<module>.CustomEntityName Ex: com.navis.announcements.CustomPreannouncement |
|
Dynamic entity table name |
CUSTOM_TABLENAME Ex. CUSTOM_PREANNOUNCEMENT |
30 characters, all uppercase |
Dynamic entity alias |
customAlias Ex. custompreanc |
all lowercase |
Metafield ID of dynamic entity field |
customAliasMetafieldId Ex.custompreancEquipmentId |
|
Database column name of dynamic entity field |
CUSTOMALIAS_COLUMNNAME Ex.CUSTOMPREANC_EQUIPMENT_ID |
30 characters, all uppercase |
Metafield ID of dynamic flex field (DFF) |
entityaliasCustomDFFMetafieldName Ex.unitCustomDFFExtraField |
|
Database column name of DFF |
CUSTDFF_ENTITYALIAS_COLUMNNAME Ex. CUSTDFF_UFV_SPECIAL_VISIT |
|
Variform ID |
CUSTOM_TABLE_TABLEID Ex. CUSTOM_TABLE_PREANNOUNCEMENT |
all uppercase |
User action |
CUSTOM_ACTIONNAME Ex. CUSTOM_CANCEL_PREANNOUNCEMENT |
all uppercase |
Custom menu node |
CUSTOM_NODE_NODENAME Ex.CUSTOM_NODE_FOOS |
all uppercase |